/*
 * Copyright (C) 2021  FunGuide, Inc. All Rights Reserved.
 */


package com.yxw.springcloud.service;

import com.yxw.springcloud.model.CommonResult;
import com.yxw.springcloud.model.Payment;
import org.springframework.stereotype.Component;

/**
 * Simple to Introduction
 * className: PaymentFallbackService
 *
 * @author yanxw
 * @version 2021/5/9 10:20
 */

@Component
public class PaymentFallbackService implements PaymentService{

    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return new CommonResult<>(44444,"服务降级返回,---PaymentFallbackService",new Payment(id,"errorSerial"));
    }
}

